﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeatherStationSys.Interface;

namespace WeatherMonitoringSystem
{
    public class BarometricPressureSensor
    {
        private AbstractBarometricPressureSensor _abstractTemperatureSensor;
        private AlarmClock _alarmClock;
        public BarometricPressureSensor(AlarmClock ac, StationTookit st)
        {
            _abstractTemperatureSensor = st.MakeBarometricPressure();
            _alarmClock = ac;
        }

        public void Tic()
        {
            _alarmClock.Tic();
        }
    }
}
